<template>
  <div class="about">
    <el-container>
      <el-header>
        <Header></Header>
      </el-header>
      <el-main>
        about
      </el-main>
      <el-footer>
        <Footer></Footer>
      </el-footer>
    </el-container>
  </div>
</template>

<script>
  // @ is an alias to /src

  import Header from "./Home/components/Header";
  import Main from "./Home/components/Main";
  import Footer from "./Home/components/Footer";

  export default {
    name: 'about',
    components: {
      Header,
      Main,
      Footer
    },
    beforeRouteEnter(to, from, next){
      if (to.meta.title){
        document.title = to.meta.title + " - my blog"
      }
      next()
    }
  }
</script>

<style scoped>
  .el-header, .el-footer {
    color: #333;
    text-align: center;
    line-height: 60px;
  }

  .el-main {
    background-color: #F6F8F9;
    color: #333;
    text-align: center;
    line-height: 1000px;
  }

  .el-header {
    border-bottom: 1px solid #e6e6e6;
  }

  .el-footer {
    border-top: 1px solid #e6e6e6;
    line-height: 160px;
  }
</style>
